package com.zsh.weather.ln.https

import com.google.gson.Gson

class JsonParser {
    companion object {
        fun <T> parserBean(jsonStr: String, clz: Class<T>): T {
            val gson = Gson()
            return gson.fromJson(jsonStr, clz)
        }
    }
}